package com.hbk.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class IndexVo {

    private List<NewsVo> newsList1 = new ArrayList<>();
    private List<NewsVo> newsList2 = new ArrayList<>();
    private List<CarouselVo> carouselList = new ArrayList<>();

    private ConsultationVo consul1;
    private ConsultationVo consul2;
    private ConsultationVo consul3;
    private ConsultationVo consul4;
    private ConsultationVo consul5;

    private List<SchoolItemVo> schoolItemList = new ArrayList<>();
    private List<FriendLinkVo> friendLinkList = new ArrayList<>();


    @Data
    public static class NewsVo{
        private String id;
        private String title;
        private String summary;
    }

    @Data
    public static class CarouselVo{
        private String id;
        private String imgUrl;
        private String title;
        private Integer hasLink;
        private String linkUrl;
        private Integer dataIndex;
    }

    @Data
    public static class ConsultationVo{
        private String id;
        private String imgUrl;
    }

    @Data
    public static class SchoolItemVo{
        private String id;
        private String title;
        private String imgUrl;
        private String linkUrl;
    }

    @Data
    public static class FriendLinkVo{
        private String id;
        private String title;
        private String url;
    }
}
